package com.lxmes.business.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.lxmes.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.lxmes.common.core.domain.BaseEntity;

/**
 * 质量工作计划对象 nc_quality_work_plan
 *
 * @author lx
 * @date 2023-06-01
 */
@ApiModel(value = "NcQualityWorkPlan", description = "质量工作计划对象")
public class NcQualityWorkPlan extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    @ApiModelProperty("${column.columnComment}")
    private Long id;

    /** 公司名称 */
    @Excel(name = "公司名称")
    @ApiModelProperty("公司名称")
    private String factoryName;

    /** 公司代码 */
    @Excel(name = "公司代码")
    @ApiModelProperty("公司代码")
    private String factoryCode;

    /** 目标编号 */
    @Excel(name = "目标编号")
    @ApiModelProperty("目标编号")
    private String targetNumber;

    /** 计划编号 */
    @Excel(name = "计划编号")
    @ApiModelProperty("计划编号")
    private String planNumber;

    /** 计划名称 */
    @Excel(name = "计划名称")
    @ApiModelProperty("计划名称")
    private String planName;

    /** 计划类型 */
    @Excel(name = "计划类型")
    @ApiModelProperty("计划类型")
    private String planType;

    /** 计划标准 */
    @Excel(name = "计划标准")
    @ApiModelProperty("计划标准")
    private String planStandard;

    /** 计划目标 */
    @Excel(name = "计划目标")
    @ApiModelProperty("计划目标")
    private String planTarget;

    /** 责任人 */
    @Excel(name = "责任人")
    @ApiModelProperty("责任人")
    private String responsiblePerson;

    /** 计划内容 */
    @ApiModelProperty("计划内容")
    private String planContent;

    /** 时间节点 */
    @Excel(name = "时间节点")
    @ApiModelProperty("时间节点")
    private String timeNode;

    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty("开始时间")
    private Date startTime;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty("结束时间")
    private Date endTime;

    /** 里程碑 */
    @Excel(name = "里程碑")
    @ApiModelProperty("里程碑")
    private String milestone;

    /** 执行方式 */
    @Excel(name = "执行方式")
    @ApiModelProperty("执行方式")
    private String executionMethod;

    /** 需求资源 */
    @Excel(name = "需求资源")
    @ApiModelProperty("需求资源")
    private String resourceRequirements;

    /** 资源价值 */
    @Excel(name = "资源价值")
    @ApiModelProperty("资源价值")
    private String resourceValue;

    /** 到位时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "到位时间", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty("到位时间")
    private Date arrivalTime;

    /** 风险评估 */
    @Excel(name = "风险评估")
    @ApiModelProperty("风险评估")
    private String riskAssessment;

    /** 进展情况 */
    @Excel(name = "进展情况")
    @ApiModelProperty("进展情况")
    private String progressStatus;

    /** 执行状态 */
    @Excel(name = "执行状态")
    @ApiModelProperty("执行状态")
    private String executionStatus;

    /** 监测监控 */
    @Excel(name = "监测监控")
    @ApiModelProperty("监测监控")
    private String monitoring;


    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setFactoryName(String factoryName)
    {
        this.factoryName = factoryName;
    }

    public String getFactoryName()
    {
        return factoryName;
    }
    public void setFactoryCode(String factoryCode)
    {
        this.factoryCode = factoryCode;
    }

    public String getFactoryCode()
    {
        return factoryCode;
    }
    public void setTargetNumber(String targetNumber)
    {
        this.targetNumber = targetNumber;
    }

    public String getTargetNumber()
    {
        return targetNumber;
    }
    public void setPlanNumber(String planNumber)
    {
        this.planNumber = planNumber;
    }

    public String getPlanNumber()
    {
        return planNumber;
    }
    public void setPlanName(String planName)
    {
        this.planName = planName;
    }

    public String getPlanName()
    {
        return planName;
    }
    public void setPlanType(String planType)
    {
        this.planType = planType;
    }

    public String getPlanType()
    {
        return planType;
    }
    public void setPlanStandard(String planStandard)
    {
        this.planStandard = planStandard;
    }

    public String getPlanStandard()
    {
        return planStandard;
    }
    public void setPlanTarget(String planTarget)
    {
        this.planTarget = planTarget;
    }

    public String getPlanTarget()
    {
        return planTarget;
    }
    public void setResponsiblePerson(String responsiblePerson)
    {
        this.responsiblePerson = responsiblePerson;
    }

    public String getResponsiblePerson()
    {
        return responsiblePerson;
    }
    public void setPlanContent(String planContent)
    {
        this.planContent = planContent;
    }

    public String getPlanContent()
    {
        return planContent;
    }
    public void setTimeNode(String timeNode)
    {
        this.timeNode = timeNode;
    }

    public String getTimeNode()
    {
        return timeNode;
    }
    public void setStartTime(Date startTime)
    {
        this.startTime = startTime;
    }

    public Date getStartTime()
    {
        return startTime;
    }
    public void setEndTime(Date endTime)
    {
        this.endTime = endTime;
    }

    public Date getEndTime()
    {
        return endTime;
    }
    public void setMilestone(String milestone)
    {
        this.milestone = milestone;
    }

    public String getMilestone()
    {
        return milestone;
    }
    public void setExecutionMethod(String executionMethod)
    {
        this.executionMethod = executionMethod;
    }

    public String getExecutionMethod()
    {
        return executionMethod;
    }
    public void setResourceRequirements(String resourceRequirements)
    {
        this.resourceRequirements = resourceRequirements;
    }

    public String getResourceRequirements()
    {
        return resourceRequirements;
    }
    public void setResourceValue(String resourceValue)
    {
        this.resourceValue = resourceValue;
    }

    public String getResourceValue()
    {
        return resourceValue;
    }
    public void setArrivalTime(Date arrivalTime)
    {
        this.arrivalTime = arrivalTime;
    }

    public Date getArrivalTime()
    {
        return arrivalTime;
    }
    public void setRiskAssessment(String riskAssessment)
    {
        this.riskAssessment = riskAssessment;
    }

    public String getRiskAssessment()
    {
        return riskAssessment;
    }
    public void setProgressStatus(String progressStatus)
    {
        this.progressStatus = progressStatus;
    }

    public String getProgressStatus()
    {
        return progressStatus;
    }
    public void setExecutionStatus(String executionStatus)
    {
        this.executionStatus = executionStatus;
    }

    public String getExecutionStatus()
    {
        return executionStatus;
    }
    public void setMonitoring(String monitoring)
    {
        this.monitoring = monitoring;
    }

    public String getMonitoring()
    {
        return monitoring;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("factoryName", getFactoryName())
            .append("factoryCode", getFactoryCode())
            .append("targetNumber", getTargetNumber())
            .append("planNumber", getPlanNumber())
            .append("planName", getPlanName())
            .append("planType", getPlanType())
            .append("planStandard", getPlanStandard())
            .append("planTarget", getPlanTarget())
            .append("responsiblePerson", getResponsiblePerson())
            .append("planContent", getPlanContent())
            .append("timeNode", getTimeNode())
            .append("startTime", getStartTime())
            .append("endTime", getEndTime())
            .append("milestone", getMilestone())
            .append("executionMethod", getExecutionMethod())
            .append("resourceRequirements", getResourceRequirements())
            .append("resourceValue", getResourceValue())
            .append("arrivalTime", getArrivalTime())
            .append("riskAssessment", getRiskAssessment())
            .append("progressStatus", getProgressStatus())
            .append("executionStatus", getExecutionStatus())
            .append("monitoring", getMonitoring())
            .append("remark", getRemark())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .toString();
    }
}
